package com.gua.jbs.dao;

import java.util.*;

import com.gua.jbs.pojo.Jbspit;
import com.gua.jbs.utility.ApplicationException;

public interface IProductDao extends IBaseDao {

	public String saveProduct(Jbspit jbspit) throws ApplicationException;

	public boolean updateProduct(Jbspit jbspit) throws ApplicationException;

	public boolean deleteProductDao(String prodId) throws ApplicationException;

	public Jbspit findProductByCode(String prodCode)
			throws ApplicationException;

	public List<Jbspit> filterProductsByDate(String fromDate, String toDate)
			throws ApplicationException;

	Map<Integer, Map<String, String>> productsType()
			throws ApplicationException;

	public Map<Integer, Map<String, String>> productsSubType()
			throws ApplicationException;

	public Map<Integer, Map<String, String>> productsPolish()
			throws ApplicationException;

	public Map<Integer, Map<String, String>> productsColor()
			throws ApplicationException;

	public Map<Integer, Map<String, String>> productsSize()
			throws ApplicationException;

	String getBarCodeCounter() throws ApplicationException;

	boolean updateGeneratorVal(String generatorCounter)
			throws ApplicationException;
}
